package com.qf.mapper;

import com.qf.entity.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {

    int usercount();

    //@Param("page")
    List<User>queryAllUsers(@Param("page")int page,@Param("limit")int limit);

    int updateUser(User user);

    int deleteUser(@Param("id")int id);

    int insertUser(User user);
}
